﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Windows.Forms;

namespace Controls
{
    public class PsDatePicker : DateTimePicker
    {
        private bool _isKeepFonValue;
        /// <summary>
        /// 保存后是否清空上次的值，简而言之，是否保存原值
        /// </summary>
        public bool IsKeepFonValue
        {
            get { return _isKeepFonValue; }
            set { _isKeepFonValue = value; }
        }

        private string _editMode = "";

        public string EditMode
        {
            get { return _editMode; }
            set { _editMode = value; }
        }

        private bool _sysReadOnly = false;

        public bool SysReadOnly
        {
            get { return _sysReadOnly; }
            set { _sysReadOnly = value; }
        }

        private string _defaultValue;

        public string DefaultValue
        {
            get { return _defaultValue; }
            set { _defaultValue = value; }
        }

        private bool _isRequie = false;

        public virtual bool IsRequie
        {
            get { return _isRequie; }
            set { _isRequie = value; }
        }

        private string _displayMode;

        public string DisplayMode
        {
            get { return _displayMode; }
            set { _displayMode = value; }
        }
    }
}
